<template>
  <!--顶部开始-->
  <div class='header'>
    <div @click="this.$router.go(-1)">
      <el-icon>
        <Back/>
      </el-icon>
    </div>
    <div>阿达西司机接单</div>
    <div style="width: 16px"/>
  </div>
  <!--顶部结束-->
  <!--具体内容开始-->
  <div>
    <el-card style="margin: 1em;padding: 1.3em">
      <div style="display: flex;margin-bottom: 1em">
        <div style="margin-right: 1em">行程路线</div>
        <div>route</div>
      </div>
      <div style="display: flex;margin-bottom: 1em">
        <div style="margin-right: 1em">出发时间</div>
        <div>startTime</div>
      </div>
      <div style="display: flex;margin-bottom: 1em">
        <div style="margin-right: 1em;color: red">numPassengers人</div>
        <div style="display: flex; margin-left: 4em">
          <div style="color: red">price元</div>
          <div>/位</div>
        </div>
      </div>
      <div style="display: flex;margin-bottom: 1em">
        <div style="margin-right: 1em">乘客电话</div>
        <div>phone</div>
      </div>
      <div style="display: flex;margin-bottom: 1em">
        <el-button size="large">
          <el-icon style="font-size: 2em;margin-right: 1em">
            <Phone/>
          </el-icon>
          联系乘客
        </el-button>
      </div>
      <div style="display: flex;margin-bottom: 1em">
        <div style="margin-right: 1em">乘客位置</div>
        <div>passengerLocation先写死</div>
      </div>
    </el-card>
  </div>
  <!--具体内容结束-->
  <!--接收和拒绝开始-->
  <div style="display: flex; justify-content: space-between;margin: 20px 50px;padding-top: 80px">
    <el-button color="#6ba5e4" size="large" style="color: black;width: 8em">接收此单</el-button>
    <el-button color="#6ba5e4" size="large" style="color: black;width: 8em">取消</el-button>
  </div>
  <!--接收和拒绝结束 -->


</template>
<script setup>
import {Back, Phone} from "@element-plus/icons-vue";


</script>
<style lang='less' scoped>
.header {
  display: flex;
  justify-content: space-between;
  background-color: #BDDCFF;
  height: 60px;
  line-height: 60px;
  color: #495e77;
  padding: 0 12px;
}


.detail {
  margin: 10px;

  .list-item {
    display: flex;
    border: 1px solid #ccc;
    /* 主要边框 */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.15);
    /* 多重阴影 */
    padding: 10px;
    /* 内边距 */
    background-color: white;
    /* 背景颜色 */

    .icon {
      color: #75aeee;
      margin: 0 10px;
    }

    .content {
      padding: 0 10px;

      .time {
        font-size: 12px;
        font-weight: 500;
        margin-top: 10px;
        margin-bottom: 20px;
      }

      .num {
        font-size: 6px;
        font-weight: 200;


        .red {
          color: red;
        }
      }

      .img {
        width: 40px;
        height: 40px;
        vertical-align: middle;
      }
    }
  }

}

</style>
